package jp.jawsug.account;

import com.amazonaws.auth.AWSCredentials;

public class MailPassAWSCredentials implements AWSCredentials {

    private String mailAddress;

    private String password;

    public MailPassAWSCredentials(String mail, String pass) {
        this.mailAddress = mail;
        this.password = pass;
    }

    @Override
    public String getAWSAccessKeyId() {
        return this.mailAddress;
    }

    @Override
    public String getAWSSecretKey() {
        return this.password;
    }
}
